package com.gree.flowable.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gree.flowable.app.pojo.model.QueryDeployMO;
import com.gree.flowable.app.pojo.vo.ModelExVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ActDeModelMapper extends BaseMapper {
    int getVersionById(String modelId);

    IPage<ModelExVO> queryDeploy(Page<?> page, @Param("params") QueryDeployMO params);
}
